\hypertarget{class_bus}{
\section{Bus Class Reference}
\label{class_bus}\index{Bus@{Bus}}
}


{\ttfamily \#include $<$bus.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_bus_ac8482fca524a43ab00fac65ad05141e4}{Bus} (int contiguousBuses)
\item 
int \hyperlink{class_bus_a5057224a24b45e745fbe5f8f67ab09ad}{acquireAudioBus} ()
\item 
void \hyperlink{class_bus_a9a7fecfcf3e1d2aeb06fa19fc4c71d68}{releaseAudioBus} (int bus)
\item 
int \hyperlink{class_bus_af6e087737311cbe2e3a539e44697041e}{acquireCoontrolBus} ()
\item 
void \hyperlink{class_bus_a23e7dd47ed61962350ba5459a0334547}{releaseControlBus} (int bus=3)
\end{DoxyCompactItemize}
\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_bus_a3ab7659bdec996825592949c721d1b98}{
static const int {\bfseries FIRST\_\-BUS} = 30}
\label{class_bus_a3ab7659bdec996825592949c721d1b98}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_bus}{Bus} Does book keeping for acquiring unique buses and a sorted list of buses in use 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_bus_ac8482fca524a43ab00fac65ad05141e4}{
\index{Bus@{Bus}!Bus@{Bus}}
\index{Bus@{Bus}!Bus@{Bus}}
\subsubsection[{Bus}]{\setlength{\rightskip}{0pt plus 5cm}Bus::Bus (int {\em contiguousBuses})}}
\label{class_bus_ac8482fca524a43ab00fac65ad05141e4}
\hyperlink{class_bus}{Bus} constructor 
\begin{DoxyParams}{Parameters}
\item[{\em int}]contiguousBuses \end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{class_bus_a5057224a24b45e745fbe5f8f67ab09ad}{
\index{Bus@{Bus}!acquireAudioBus@{acquireAudioBus}}
\index{acquireAudioBus@{acquireAudioBus}!Bus@{Bus}}
\subsubsection[{acquireAudioBus}]{\setlength{\rightskip}{0pt plus 5cm}int Bus::acquireAudioBus ()}}
\label{class_bus_a5057224a24b45e745fbe5f8f67ab09ad}
acquireAudioBus requests a unique bus number, taking into account the contiguous buses variable \begin{DoxyReturn}{Returns}
int the number of the bus that was reserved 
\end{DoxyReturn}
\hypertarget{class_bus_af6e087737311cbe2e3a539e44697041e}{
\index{Bus@{Bus}!acquireCoontrolBus@{acquireCoontrolBus}}
\index{acquireCoontrolBus@{acquireCoontrolBus}!Bus@{Bus}}
\subsubsection[{acquireCoontrolBus}]{\setlength{\rightskip}{0pt plus 5cm}int Bus::acquireCoontrolBus ()}}
\label{class_bus_af6e087737311cbe2e3a539e44697041e}
acquireControlBus requests a unique bus number, taking into account the contiguous buses variable \begin{DoxyReturn}{Returns}
int the number of the bus that was reserved 
\end{DoxyReturn}
\hypertarget{class_bus_a9a7fecfcf3e1d2aeb06fa19fc4c71d68}{
\index{Bus@{Bus}!releaseAudioBus@{releaseAudioBus}}
\index{releaseAudioBus@{releaseAudioBus}!Bus@{Bus}}
\subsubsection[{releaseAudioBus}]{\setlength{\rightskip}{0pt plus 5cm}void Bus::releaseAudioBus (int {\em bus})}}
\label{class_bus_a9a7fecfcf3e1d2aeb06fa19fc4c71d68}
releaseAudioBus 
\begin{DoxyParams}{Parameters}
\item[{\em int}]The number of the bus (plus the contiguous buses var) to remove \end{DoxyParams}
\hypertarget{class_bus_a23e7dd47ed61962350ba5459a0334547}{
\index{Bus@{Bus}!releaseControlBus@{releaseControlBus}}
\index{releaseControlBus@{releaseControlBus}!Bus@{Bus}}
\subsubsection[{releaseControlBus}]{\setlength{\rightskip}{0pt plus 5cm}void Bus::releaseControlBus (int {\em bus} = {\ttfamily 3})}}
\label{class_bus_a23e7dd47ed61962350ba5459a0334547}
releaseCurrentBus 
\begin{DoxyParams}{Parameters}
\item[{\em int}]The number of the bus (plus the contiguous buses var) to remove \end{DoxyParams}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
sc++/bus.h\item 
sc++/bus.cpp\end{DoxyCompactItemize}
